//
//  GQHRegisterView.h
//  Xanthium
//
//  Created by GuanQinghao on 22/02/2018.
//  Copyright © 2018 GuanQinghao. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol GQHRegisterViewDelegate <NSObject>

@required
// 默认必须实现

@optional
///  请求验证码
- (void)qh_requestCodeWithMobile:(NSString *)mobile;
/// 验证手机号和验证码是否正确
- (void)qh_registerWithMobile:(NSString *)mobile code:(NSString *)codeString;
/// 查看协议内容
- (void)qh_checkAgreement;

@end


@interface GQHRegisterView : UIView

/// 代理
@property (nonatomic, weak) id<GQHRegisterViewDelegate> qh_delegate;

@end
